From: Ewan Mellor Date: Mon, 26 Mar 2007 12:59:36 +0000 (+0100) Subject: Fix xm mem-set on non-running domains. Closes bug #934. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15275^2~2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=c322cc77175bd8e709acdc1dadf51b3f063112e5;p=xen.git Fix xm mem-set on non-running domains. Closes bug #934. Signed-off-by: Masaki Kanno --- diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 7d0da6fc51..091d2241c9 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -573,8 +573,8 @@ class XendDomainInfo: """Set the memory target of this domain. @param target: In MiB. """ - log.debug("Setting memory target of domain %s (%d) to %d MiB.", - self.info['name_label'], self.domid, target) + log.debug("Setting memory target of domain %s (%s) to %d MiB.", + self.info['name_label'], str(self.domid), target) if target <= 0: raise XendError('Invalid memory size')